/**
 *
 */
package de.cbf.cam.dice.logic;

import de.cbf.util.number_generator.RandomNumberGenerator;

/**
 * @author Nebelritter
 *
 */
public class DiceRoller {
	protected static RandomNumberGenerator rndGenerator = RandomNumberGenerator.getInstance();

//========================
//		constructors
//========================
	/**
	 * method to initialize object,
	 * provide default values for every field
	 * accessable by all constructors
	 */
	protected void init() {

	}

	public DiceRoller() {
		super();
		init();
	}

//========================
//	   public methods
//========================
	public static int rollDice(int sideNumber){
		int result = rndGenerator.getRandomNumber(sideNumber);
		result++;
		return result;
	}

//========================
//    standard methods
//========================

//========================
// 	   private methods
//========================

//========================
// 	SHORT property access
//========================

//========================
//		getters
//========================

//========================
//		setters
//========================

//========================
//		listeners
//========================

}
